﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace ZY.EntityFrameWork.Core.Model.Entity
{
    public class ArvLocation : BaseEntity
    {
        // 为了避免潜在的 null 引用异常可能性
        public ArvLocation()
        {
            Arvs = new Collection<ArchiveInfo>();
        }

        // <summary>
        // 档案盒编号
        // </summary>
        public int ArvBoxID { get; set; }

        /// <summary>
        /// 存放柜号
        /// </summary>
        public string GroupNo { get; set; }

        /// <summary>
        /// 存放层号
        /// </summary>
        public string LayerNo { get; set; }

        /// <summary>
        /// 存放格号
        /// </summary>
        //public string CellNo { get; set; }
        //public virtual ArchiveInfo ArchiveInfo { get; set; }
        public virtual Collection<ArchiveInfo> Arvs { get; set; }
    }
}
